<?php

declare(strict_types=1);

namespace App\CustHub\Constants;

use App\Common\Constants\AbstractBaseConstants;
use Hyperf\Constants\Annotation\Constants;

#[Constants]
class QuestionnaireAnswerConstants extends AbstractBaseConstants
{
    /**
     * @Message("头部")
     */
    public const HEADER = 'header';

    /**
     * @Message("底部")
     */
    public const FOOTER = 'footer';

    /**
     * @Message("单选")
     */
    public const RADIO = 'radio';

    /**
     * @Message("下拉单选")
     */
    public const SELECT = 'select';

    /**
     * @Message("多选")
     */
    public const CHECKBOX = 'checkbox';


    /**
     * @Message("单行填空")
     */
    public const INPUT = 'input';

    /**
     * @Message("多行填空")
     */
    public const TEXTAREA = 'textarea';

    /**
     * @Message("图片上传")
     */
    public const FILE = 'file';

    /**
     * @Message("企业")
     */
    public const COMPANY = 'company';

    /**
     * @Message("地址")
     */
    public const ADDRESS = 'address';

    /**
     * @Message("姓名")
     */
    public const FULLNAME = 'fullName';

    /**
     * @Message("微信号")
     */
    public const WECHAT = 'wechat';

    /**
     * @Message("职务")
     */
    public const POSITION = 'position';

    /**
     * @Message("性别")
     */
    public const SEX = 'sex';

    /**
     * @Message("电话")
     */
    public const MOBILE = 'mobile';

    /**
     * @Message("生日")
     */
    public const BIRTHDAY = 'birthday';

    /**
     * @Message("文本")
     */
    public const TEXT = 'text';

    /**
     * @Message("图片")
     */
    public const IMAGE = 'image';

    public static function  getOptionTypes()
    {
        return [
            self::RADIO,
            self::SELECT,
            self::CHECKBOX,
        ];
    }

}